import http from "@/http";
import { WxUserListParm, WxUser } from "./WxUserModel";
//查询列表
export const getListApi = (parm: WxUserListParm) => {
  return http.get("/api/wxUser/list", parm);
};
//停用
export const stopUserApi = (parm: WxUser) => {
  return http.post("/api/wxUser/stopUser", parm);
};
//重置密码
export const updatePasswordApi = (id: string) => {
  return http.post(`/api/wxUser/${id}`);
};
//删除
export const deleteApi = (id: string) => {
  return http.delete(`/api/wxUser/${id}`);
};
